import request from '@/utils/request'
import defaultSettings from '@/settings'

export const apiUrlConfig = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/NetsQueueManageEntry/search`,
    // exportUrl: `${defaultSettings.ctx.cnapsApp}/systemManager/paramManager/technolParamManager/TechnolParamQuery/search`,
    // delUrl: `${defaultSettings.ctx.cnapsApp}/systemManager/paramManager/technolParamManager/TechnolParamQuery/remove`,
}

// 排队管理弹框列表数据
export const detailSearch = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/NetsQueueManageEntry/detailSearch`,
}

// 发送查询申请
export function sendApply(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/NetsQueueManageEntry/sendApply`,
        method: 'post',
        data
    })
}
// 调至队首接口
export function tofirst(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/NetsQueueManageEntry/tofirst`,
        method: 'post',
        data
    })
}
// 调至队尾接口
export function toend(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/clearAccountManage/queueManage/NetsQueueManageEntry/toend`,
        method: 'post',
        data
    })
}
